module.exports = function (sequelize, DataTypes) {
    let crawlerStorageModel = sequelize.define(
        'crawler_storage_model', {
            model_id: {
                type: DataTypes.INTEGER(11),
                allowNull: false,
                autoIncrement: true,
                primaryKey: true
            },
            sequelize_details: {
                type: DataTypes.STRING,
                allowNull: true
            },
            desc: {
                type: DataTypes.STRING,
                allowNull: true
            },
            table_name_prefix: {
                type: DataTypes.STRING,
                allowNull: true
            },
            table_create_rand: {
                type: DataTypes.STRING,
                allowNull: true
            }
        },
        {
            tableName: 'crawler_storage_model',
            timestamps: false
        }
    );

    return crawlerStorageModel;
};

